//
//  UIGestureRecognizer+addTag.m
//  xiaohu
//
//  Created by 刘璇 on 2018/2/5.
//  Copyright © 2018年 iOSOneGpowerMobile. All rights reserved.
//

#import "UIGestureRecognizer+addTag.h"

@implementation UIGestureRecognizer (addTag)

-(NSNumber *)tag{
    return objc_getAssociatedObject(self, @"tag");
}

-(void)setTag:(NSNumber *)tag{
    objc_setAssociatedObject(self, @"tag", tag, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

@end
